package com.springboot.admin.service;

import com.springboot.admin.entity.CommentsDto;
import com.springboot.admin.entity.PagesDto;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface PagesSerice {

  public List<PagesDto> getRecomList(String type);

  public int getAllCount();

  public int getCountViews();

  public List<CommentsDto> getAllComment();

  public List<CommentsDto> getLatestComments();

  public Object getListByPage(String page);

  public Object getListByCatePage(String cate,String page);

  public Object getListByTagsPage(String cate,String page) throws UnsupportedEncodingException;

  public Object getCateList();

  public Object getTagsList();

  public Object getCommentById(String id);

  public Object getDetailByPageId(String id);

}
